package com.teamwork.module01.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teamwork.common.entity.module01.Subject;
import com.teamwork.common.entity.module01.Teacher;
import com.teamwork.common.result.Result;

import java.util.List;

public interface TeacherService extends IService<Teacher> {
    Result getByName(String name);

    Result getPage(Integer page, Integer size);

    Result InsertOrUpdate(Teacher teacher);

    Result deleteById(Integer id);

    Result batchDelete(List<Integer> ids);

}
